﻿using System;

namespace er
{
    class Work5
    {
        public enum OrderStatus
        {
            新订单,
            已发货,
            已签收,
            已评价,
        }
        public enum Fruit
        {
            香蕉 = 3,
            苹果 = 4,
            西瓜 = 1,
            草莓 = 6,
            葡萄 = 7,
            哈密瓜 = 2,
            奇异果 = 5,
        }
        public enum Job
        {
            战士 = 1,
            法师 = 2,
            精灵 = 3,
        }
        public static void Score(Fruit Name)
        {
            int Score = (int)Name;
            Console.WriteLine("{0}的分数为：{1}",Name,Score);
        }

        public static void Skill(Job Name)
        {
            switch (Name)
            {
                case Job.战士:
                    Console.WriteLine("战士技能为：碎石打击、烈焰锚钩、战斗咆哮");
                    break;
                case Job.法师:
                    Console.WriteLine("法师技能为：巨浪冲击、元素突击、复仇杀戮");
                    break;
                case Job.精灵:
                    Console.WriteLine("精灵技能为：减速陷阱、能量浪潮、旋风剑舞");
                    break;
                default:
                    break;
            }

        }
        static void Main(string[] args)
        {
            OrderStatus OS = OrderStatus.已签收;
            Console.WriteLine("该订单状态为：" + OS);
            Console.WriteLine("**********************");
            Score(Fruit.西瓜);
            Score(Fruit.哈密瓜);
            Score(Fruit.香蕉);
            Score(Fruit.苹果);
            Score(Fruit.奇异果);
            Score(Fruit.草莓);
            Score(Fruit.葡萄);
            Console.WriteLine("**********************");
            Skill(Job.战士);
            Skill(Job.法师);
            Skill(Job.精灵);

        }
    }
}
